export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "input",
      "label": "名称",
      "prop": "waiterName",
      "span": 12,
      search: true,
      maxlength: 24,
      rules: [{
        required: true,
        message: '请输入名称',
        trigger: 'blur'
      }]
    },	  {
      "type": "input",
      "label": "编码",
      "prop": "no",
      "span": 12,
      search: true,
      maxlength: 24,
    },	  {
      "type": "select",
      "label": "性别",
      "prop": "sex",
      "span": 12,
      dicUrl: '/admin/dict/type/gender',
      search: true
    },	  {
      "type": "input",
      "label": "所属公司",
      "prop": "company",
      maxlength: 128,
      "span": 12
    },	  {
      "type": "input",
      "label": "地址",
      "prop": "address",
      "span": 12,
      hide: true,
      maxlength: 128,
      
    },	  {
      "type": "input",
      "label": "身份证号码",
      "prop": "idCard",
      "span": 12,
      maxlength: 20,
      rules: [{
        required: true,
        message: '请输入身份证号码',
        trigger: 'blur'
      }],
    },	  {
      "type": "date",
      "label": "生日",
      "prop": "birthday",
      "span": 12,
      hide: true,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
    },	  {
      "type": "input",
      "label": "联系电话",
      "prop": "phone",
      "span": 12,
      maxlength: 20,
      rules: [{
        required: true,
        message: '请输入联系电话',
        trigger: 'blur'
      }],
    },	  {
      "type": "input",
      "label": "职务",
      "prop": "post",
      "span": 12,
      hide: true,
      maxlength: 24,
    },	  {
      "type": "number",
      "label": "工龄",
      "prop": "workYear",
      "span": 12,
      hide: true,
      value: 1,
      maxRows: 1000000,
    },	  {
      "type": "input",
      "label": "学历",
      "prop": "education",
      "span": 12,
      hide: true,
      maxlength: 250,
    },	  {
      "type": "input",
      "label": "履历",
      "prop": "experience",
      "span": 12,
      hide: true,
      maxlength: 250,
    },	  {
      "type": "input",
      "label": "备注",
      "prop": "remark",
      "span": 12,
      hide: true,
      maxlength: 250,
    },	  {
      "type": "select",
      "label": "状态",
      "prop": "status",
      "span": 12,
      dicUrl: '/admin/dict/type/use_status',
      search: true,
      value: '1',
    },	  {
      "type": "upload",
      "label": "头像",
      "prop": "avatar",
      width: 140,
      loadText: '头像上传中，请稍等',
      listType:'picture-img',
      accept: ["image/png","image/jpeg","image/jpg"],
      tip: '只能上传jpg，png图片不超过20MB',
      fileSize: 20480,
      propsHttp: {
          res: 'data'
      },
      canvasOption: {
        text: ' ',
        ratio: 0.1
      },
      action: "/act/file/upload",
      hide: true,
    },	  {
      "type": "input",
      "label": "录入人",
      "prop": "createRealname",
      "span": 12,
      hide: true,
      editDisabled: true,
      addDisplay: false,
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      "span": 12,
      hide: true,
      editDisabled: true,
      addDisplay: false,
    },	  {
      "type": "input",
      "label": "更新时间",
      "prop": "updateTime",
      "span": 12,
      hide: true,
      editDisabled: true,
      addDisplay: false,
    }  ]
}
